page {
  background-color: #f4f4f4;
}

.inputContainer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30rpx 20rpx;
  border-bottom: 1rpx solid #ccc;
  background-color: #fff;
  .input_box {
    flex: 1;
    height: 70rpx;
    margin-right: 20rpx;
    border-radius: 8rpx;
    padding: 0 20rpx;
    background-color: #f4f4f4;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    .input {
      flex: 1;
      height: 100%;
      padding-left: 20rpx;
    }
  }
  .cancel {
    width: 70rpx;
    font-size: 34rpx;
  }
}

.container {
  width: 100%;
  padding: 20rpx;
  background-color: #fff;
  .title_icon_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .iconfont {
      font-size: 40rpx;
    }
  }
  .list {
    width: 100%;
    padding: 20rpx 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    .item {
      border: 1rpx solid #666;
      height: 50rpx;
      padding: 5rpx 10rpx;
      text-align: center;
      line-height: 40rpx;
      margin-right: 20rpx;
      margin-bottom: 20rpx;
    }
  }
}
.history_box {
  margin-bottom: 20rpx;
}
.hot {
  color: #b4282d;
  border: 1rpx solid #b4282d;
}

.keywordList {
  width: 100%;
  background-color: #fff;
  .keywordItem {
    width: 100%;
    padding: 20rpx;
  }
}

.goodsContainer {
  width: 100%;
  background-color: #fff;
  .sortType {
    width: 100%;
    height: 90rpx;
    padding: 20rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1rpx solid #ccc;
    .sort_default {
      flex: 1;
      text-align: center;
    }
    .sort_price {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      .sort_icon {
        position: relative;
        .iconfont {
          position: absolute;
          left: 0;
          top: ~'calc(50% - 16rpx)';
        }
      }
    }
    .active {
      color: #b4282d;
    }
  }
  .goodsList {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
    align-content: flex-start;
    .goodsItem {
      width: 50%;
      padding: 20rpx;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      font-size: 32rpx;
      image {
        width: 100%;
      }
      .goods_price {
        color: #dd1a21;
      }
    }
  }
}

.search-result-empty{
  width: 100%;
  height: 100%;
  padding-top: 300rpx;
  .empty_icon {
    margin: 0 auto;
    display: block;
    width: 240rpx;
    height: 240rpx;
  }
  .empty_text {
    display: block;
    width: 100%;
    height: 40rpx;
    font-size: 28rpx;
    text-align: center;
    color: #999;
  }
}